
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.ServerBill;

public interface ServerBillDao extends Dao {

    /**
     * Retrieves all of the serverBills
     */
    public List getServerBills(ServerBill serverBill);

    /**
     * Gets serverBill's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the serverBill's id
     * @return serverBill populated serverBill object
     */
    public ServerBill getServerBill(final Integer id);

    /**
     * Saves a serverBill's information
     * @param serverBill the object to be saved
     */    
    public void saveServerBill(ServerBill serverBill);

    /**
     * Removes a serverBill from the database by id
     * @param id the serverBill's id
     */
    public void removeServerBill(final Integer id);
}

